
export default function (req, res, next) {
    console.log('我进来了' + req.url);
    console.log(req.session)
    if (!req.session.user) {
        console.log('我赋值了');
        req.session.user = { username: 'admin' };
    }
    res.send({ message: '记录成功！', success: true });
}

